﻿using System;
namespace XF.Model
{
	/// <summary>
	/// Bill_DTOItems:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Bill_DTOItems
	{
		public Bill_DTOItems()
		{}
		#region Model
		private int _id;
		private string _ordercode;
		private int? _item;
		private int? _materielid;
		private int? _unit;
		private decimal? _qty;
		private decimal? _price;
		private int? _stoitemid;
		private string _remark;
		private DateTime? _createdate;
		private string _createuser;
		private DateTime? _lastupdatedate;
		private string _lastupdateuser;
		private bool _enable= true;
		private decimal? _paid;
		#region 扩展属性
		private int? _dtoorderid;
		private DateTime? _orderdate;
		private int? _customerid;
		private string _customercode;
		private string _customername;
		private string _stoordercode;
		private decimal? _stoqty;
		private string _materielname;
		private string _materielmodel;
		private int? _status;
		private decimal? _payamount;
		private int? _paytype;
		private string _orderremark;
		public int? DTOOrderId
		{
			get { return _dtoorderid; }
			set { _dtoorderid = value; }
		}

		public DateTime? OrderDate
		{
			get { return _orderdate; }
			set { _orderdate = value; }
		}

		public int? CustomerId
		{
			get { return _customerid; }
			set { _customerid = value; }
		}
		public string CustomerCode
		{
			get { return _customercode; }
			set { _customercode = value; }
		}
		public string CustomerName
		{
			get { return _customername; }
			set { _customername = value; }
		}

		public string STOOrderCode
		{
			get { return _stoordercode; }
			set { _stoordercode = value; }
		}

		public decimal? STOQty
		{
			get { return _stoqty; }
			set { _stoqty = value; }
		}
		public string MaterielName
		{
			get { return _materielname; }
			set { _materielname = value; }
		}

		public string MaterielModel
		{
			get { return _materielmodel; }
			set { _materielmodel = value; }
		}

		public int? Status
        {
			get { return _status; }
			set { _status = value; }
		}

		public decimal? PayAmount
        {
			get { return _payamount; }
			set { _payamount = value; }
		}

		public int? PayType
        {
			get { return _paytype; }
			set { _paytype = value; }
		}

		public string OrderRemark
		{
			get { return _orderremark; }
			set { _orderremark = value; }
		}
		#endregion
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string OrderCode
		{
			set{ _ordercode=value;}
			get{return _ordercode;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Item
		{
			set{ _item=value;}
			get{return _item;}
		}

		/// <summary>
		/// 
		/// </summary>
		public int? MaterielId
		{
			get { return _materielid; }
			set { _materielid = value; }
		}

		/// <summary>
		/// 
		/// </summary>
		public int? Unit
		{
			get { return _unit; }
			set { _unit = value; }
		}

		/// <summary>
		/// 
		/// </summary>
		public decimal? Qty
		{
			set{ _qty=value;}
			get{return _qty;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? Price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? STOItemId
		{
			set{ _stoitemid=value;}
			get{return _stoitemid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Remark
		{
			set { _remark = value; }
			get { return _remark; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateUser
		{
			set{ _createuser=value;}
			get{return _createuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LastUpdateDate
		{
			set{ _lastupdatedate=value;}
			get{return _lastupdatedate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LastUpdateUser
		{
			set{ _lastupdateuser=value;}
			get{return _lastupdateuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool Enable
		{
			set{ _enable=value;}
			get{return _enable;}
		}

		public decimal? Paid
        {
            set { _paid = value; }
            get { return _paid; }
        }
		#endregion Model

	}
}

